package com.wwj.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wwj.common.utils.PageUtils;
import com.wwj.gulimall.product.entity.CategoryBrandRelationEntity;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author wwj
 * @email 3288937519@qq.com
 * @date 2024-09-07 15:46:50
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> queryByBrandId(Map<String, Object> params);

    void updateBrand(Long brandId, String name);

    void updateCatelog(Long catId, String name);

    List<CategoryBrandRelationEntity> queryByCatId(Long catId);
}

